package com.gpframework.module.ctn.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gpframework.module.ctn.domain.GpReceiptGoods;
import com.gpframework.module.ctn.domain.vo.GpFormVo;
import com.gpframework.module.ctn.domain.vo.GpReceiptGoodsExcel;
import com.gpframework.module.ctn.domain.vo.GpReceiptGoodsVo;

import java.util.List;
/**
 * @ClassName GpReceiptGoods
 * @Author gpframework
 * @Date 2024-01-08
 * @Version 1.0.0
 * @Description 录入订单Service接口
 */
public interface IGpReceiptGoodsService extends IService<GpReceiptGoods> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-08
     * @Param [lqw]
     * @Return List<GpReceiptGoodsVo>
     */
    List<GpReceiptGoodsVo> listVo(QueryWrapper<GpReceiptGoods> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-08
     * @Param [id]
     * @Return GpReceiptGoodsVo
     */
    GpReceiptGoodsVo getVoById(Long id);

    List<GpReceiptGoodsExcel> gpReceiptGoodsImport(List<GpReceiptGoodsExcel> excelList, Long brandId, Long storeId);


    List<GpFormVo> customerStatistics(QueryWrapper<GpReceiptGoods> lqw);

    List<GpFormVo> supplierStatistics(QueryWrapper<GpReceiptGoods> lqw);
}
